﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.Business.Component
{
    public class MailInfoComponent
    {
        private static MailInfoDAC db = new MailInfoDAC();

        public static List<MailInfo> MailInfo_GetByTop(string Top, string Where, string Ord)
        {
            return db.MailInfo_GetByTop(Top, Where, Ord);
        }

        public static void MailInfo_Insert(MailInfo mailinfo)
        {
            db.MailInfo_Insert(mailinfo);
        }

        public static void MailInfo_Update(MailInfo mailinfo)
        {
            db.MailInfo_Update(mailinfo);
        }
    }
}
